package com.glsc.ngateway.common.base.domain.oracle.ecology;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * @Description:通过系统编号关联oa流程的实体表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Builder
@Table(name = "v_gw_system_related_flow", schema = "ECOLOGY_TARGET", catalog = "")
public class VITSystemOAFlowResource {
//    @Id
//    @Column(name = "id")
//    private Integer id;
    /**
     * 流程类型
     */
    @Column(name = "workflowname")
    private String workflowName;
    /**
     * 流程名称
     */
    @Column(name = "REQUESTNAME")
    private String requestName;

    @Id
    @Column(name = "req_id")
    private String requestId;

    /**
     * 发起人
     */
    @Column(name = "lastname")
    private String userName;
    /**
     * 系统编号
     */
    @Column(name = "xtbh")
    private String systemClassNo;

    /**
     * 申请日期
     */
    @Column(name = "CREATEDATE")
    private String applyDate;

    /**
     * 变更级别（变更类流程专有）
     */
    @Column(name ="BGJB")
    private Integer changeLevel;

}
